<template>
  <div>
    <footer>
      <ul>
        <router-link to="/filmBar" active-class="active">
          <li>
            <i class="iconfont icon-yingshi2"></i>
            <span class="active">电影</span>
          </li>
        </router-link>

        <router-link to="/cinemaBar" active-class="active">
          <li>
            <i class="iconfont icon-yingyuan"></i>
            <span>影院</span>
          </li>
        </router-link>

        <router-link to="/newMassage" active-class="active">
          <li>
            <i class="iconfont icon-xinwenzixun"></i>
            <span>资讯</span>
          </li>
        </router-link>

        <router-link to="/userInfo" active-class="active">
          <li>
            <i class="iconfont icon-my"></i>
            <span>我的</span>
          </li>
        </router-link>
      </ul>
    </footer>
  </div>
</template>

<script>
export default {
  name:"tabBar"
};
</script>

<style>
footer {
  width: 100%;
  height: 49rem;
  border-bottom: 1px solid #ededed;
  background-color: white;
  position: fixed;
  left: 0;
  bottom: 0;
}

footer ul {
  display: flex;
}

footer ul a {
  width: 25%;
  height: 49rem;
}

footer ul a li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer ul a li span {
  font-size: 16rem;
  color: #797d82;
}

footer ul a li .icon-yingshi2,
footer ul a li .icon-yingyuan,
footer ul a li .icon-xinwenzixun,
footer ul a li .icon-my {
  font-size: 24rem;
  color: #797d82;
}

footer ul .active li span,
 footer ul .active li i{
  color: #ff5f16;
}
</style>